age = input("输入年龄")

age = int(age)
if age >= 18:
    print("上网")
else:
    print("回家")
    
    